package thread;

public class ThreadDemo9 {
        public static void main(String[] args) throws InterruptedException {
            Thread t = new Thread(() -> {
                // 这个线程的运行时间大概是1秒
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException e) {
                    throw new RuntimeException(e);
                }
            });

            t.start();

            t.start();
        }
}
